package com.sword.erp.logistics.service.mock;

import com.sword.erp.logistics.service.LogisticsOverseasService;
import com.sword.erp.logistics.service.dto.LogisticsRequest;
import com.sword.erp.logistics.service.dto.LogisticsResponse;
import lombok.extern.slf4j.Slf4j;

/**
 * 海外物流服务降级实现
 * @author sword
 * @date 2021/11/1 16:42
 */
@Slf4j
public class LogisticsOverseasServiceMock implements LogisticsOverseasService {
    @Override
    public LogisticsResponse createOverseasLogistics(LogisticsRequest logisticsRequest) {
        log.info("海外疫情严重，暂时不发货，订单信息：{}", logisticsRequest);
        return null;
    }
}
